// src/router/index.js
import { createRouter, createWebHistory } from 'vue-router';
import Home from '../views/Home.vue';
import DeepSeekIndex from '../views/DeepSeek.vue'; // 确保路径正确

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/deepseek',
    name: 'DeepSeekIndex',
    component: DeepSeekIndex // 确保组件正确
  }
];

const router = createRouter({
  history: createWebHistory(import.meta.env.VUE_APP_BASE_URL), // 修改这里
  routes
});

export default router;